import PageTools from "@/components/PageTools"; // 通用导航组件
import UploadExcel from "@/components/UploadExcel"; // Excel 员工导入组件
import ImageUpload from "@/components/ImageUpload"; // 预览图片组件
import Print from "vue-print-nb"; // 注册打印组件
import screenfull from "@/components/ScreenFull"; // 注册全屏组件
import ThemePicker from "@/components/ThemePicker"; // 注册全屏组件
import TagsView from "@/components/TagsView";

// 该文件负责所有的公共的组件的全局注册

export default {
  install(Vue) {
    //  注册全局的通用栏组件对象
    Vue.component("PageTools", PageTools);
    Vue.component("UploadExcel", UploadExcel);
    Vue.component("ImageUpload", ImageUpload);
    Vue.component("screenfull", screenfull);
    Vue.component("ThemePicker", ThemePicker);
    Vue.component("TagsView", TagsView);
    Vue.use(Print);
  },
};
